import { listMarks } from '../../api/system/marks'

const mark = {
  state: {
    markList:[],
  },


  actions :{
    //获取所有标签
    SetMarkList({commit},marksList){
      commit('SET_MARK_LIST',marksList)
    },
    // 设置网页标题
    setList({ commit }, list) {
      state.markList = list
    }
  },
  mutations: {
    SET_MARK_LIST: (state, markList) => {
      state.markList = markList
    },
  },

}
export default mark
